﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucContactUS.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.ContactUS.ContactUS" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<div>
    <div>
        <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" Width="100%">
            <ItemTemplate>
                <div>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("NoiDung") %>'></asp:Label>
                </div>
            </ItemTemplate>
        </asp:DataList>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAll"
            TypeName="IOBusiness.clsBSContactUS"></asp:ObjectDataSource>
        <br />
    </div>
    <div>
        <b>ONLINE CONTACT FORM</b>
        <table width="100%">
            <tr>
                <td align="left" width="150px">
                    Full Name:
                </td>
                <td>
                    <asp:DropDownList ID="ddlLastName" runat="server">
                        <asp:ListItem>Mr.</asp:ListItem>
                        <asp:ListItem>Prof.</asp:ListItem>
                        <asp:ListItem>Dr.</asp:ListItem>
                        <asp:ListItem>Miss.</asp:ListItem>
                        <asp:ListItem>Ms.</asp:ListItem>
                        <asp:ListItem>Mrs.</asp:ListItem>
                    </asp:DropDownList>
                    <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtFullName"
                        Display="None" ErrorMessage="Required Value"></asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="RequiredFieldValidator8_ValidatorCalloutExtender"
                        runat="server" BehaviorID="ma1" Enabled="True" TargetControlID="RequiredFieldValidator8">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Address:
                </td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtAddress"
                        Display="None" ErrorMessage="Required Value"></asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="ma2" runat="server" BehaviorID="ma2" Enabled="True"
                        TargetControlID="RequiredFieldValidator7">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Phone:
                </td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPhone"
                        Display="None" ErrorMessage="Required Value"></asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="RequiredFieldValidator3_ValidatorCalloutExtender"
                        runat="server" BehaviorID="ma3" Enabled="True" TargetControlID="RequiredFieldValidator3">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Email:
                </td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtEmail"
                        Display="None" ErrorMessage="Required Value"></asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="RequiredFieldValidator4_ValidatorCalloutExtender"
                        runat="server" BehaviorID="ma4" Enabled="True" TargetControlID="RequiredFieldValidator4">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Subject:
                </td>
                <td>
                    <asp:TextBox ID="txtSubject" runat="server" Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtSubject"
                        Display="None" ErrorMessage="Required Value"></asp:RequiredFieldValidator>
                    <asp:ValidatorCalloutExtender ID="RequiredFieldValidator5_ValidatorCalloutExtender"
                        runat="server" BehaviorID="ma5" Enabled="True" TargetControlID="RequiredFieldValidator5">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td align="left">
                    Content
                </td>
                <td>
                    <asp:TextBox ID="txtContent" runat="server" Height="107px" TextMode="MultiLine" ViewStateMode="Enabled"
                        Width="250px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtContent"
                        Display="None" ErrorMessage="Required Value"></asp:RequiredFieldValidator>
                    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                    </asp:ToolkitScriptManager>
                    <asp:ValidatorCalloutExtender ID="RequiredFieldValidator6_ValidatorCalloutExtender"
                        runat="server" BehaviorID="ma6" Enabled="True" TargetControlID="RequiredFieldValidator6">
                    </asp:ValidatorCalloutExtender>
                </td>
            </tr>
            <tr>
                <td align="left">
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Send" />
                    &nbsp;
                    <input id="Reset1" type="reset" value="Reset" />
                </td>
            </tr>
        </table>
    </div>
</div>
